<%-- 
    Document   : bookMenu
    Created on : Nov 28, 2014, 10:41:43 AM
    Author     : Owner
--%>

<%@page import="assignment3.Account"%>
<%@ include file="header.jsp" %>
<body>
    <%@ include file="menu.jsp" %>
    <h1>Book Stuff</h1>
    <%
        HttpSession hs = request.getSession();
        Account account = (Account) hs.getAttribute("account");
        if (account.getAdmin().equals("admin")) {
    %>
    <h2>Admin</h2>
    
    
    <%
        } 
    %>
    <h2>Guest</h2>
    ${action}
    <form method="POST" action="/Assignment3/BookServlet">
        <input value="Get All" type="submit">
        <input value="Put On Hold" type="submit">
        <input value="Get All" type="submit">
        <input value="Get All" type="submit">
    </form> <br>
    
    
   


</body>
<%@ include file="footer.jsp" %>

